(function(){
    //经协系统服务器地址 + 端口
    var app_server = "http://127.0.0.1:8090";
    //地理信息系统服务器地址 +　端口
    var sgis_server = "http://127.0.0.1:9092";

    //信息推送系统服务器地址 +　端口
    var info_server = "http://175.6.46.164:9000";

    //项目管理模块服务器地址 +　端口
    var project_server = "http://127.0.0.1:3000";

    var inDeveloping = app_server + "/app/web/inDevelopment";

    //正式环境地址匹配
    window.app_address = {
        //系统首页
        app_index: app_server + "/app/web/base",
        //宏观数据管理
        macro_data_manage:{
            //宏观经济结构分析
            macro_economic: app_server + "/app/web/dataBoard",
            //新区产业结构分析
            new_town_industry: app_server + "/app/web/newTownIndustry",
            //宏观数据查询
            macro_iden_form: app_server + "/app/web/idenForm",
            //宏观经济指标及构成
            macro_search: app_server + "/app/web/macro",
            //报表中心
            macro_form: app_server + "/app/web/report_center"

        },
        //项目建设管理
        project_build_manage:{
            //项目管理
            project_manage:project_server + "/zdxm/#/project_manage",
            //项目查询分析
            project_search:project_server + "/zdxm/#/project_show",
            //项目统计
            project_statistics:project_server + "/jsfz/#/project_reloStatis"
        },
        //目标进度管理
        target_schedule_manage:{
            //目标制定
            objective: app_server + "/app/web/iden",
            //目标考核
            target_check:app_server + "/app/web/target_check",
            //进度监测
            target_monitor: app_server + "/app/web/targetManagement"
        },
        //企业查询分析
        enterprise_search_analysis:{
            //联网直报
            online_report: app_server + "/app/web/report",
            //企业信息查询
            enterprise_search: app_server + "/app/web/enterprise_search",
            //企业结构分析
            enterprise_framework:inDeveloping,
            //一企一档
            one_company_one_record: app_server + "/app/web/enterpriseVolum"
        },
        //经济作战地图
        economic_fight_map:{
            //企业空间查询分析
            enterprise_space_search: sgis_server + "/web/main/base.html",
            //可视化专题分析
            gallery: sgis_server + "/gallery2.1/http/",
            //产业链
            industry_chain:app_server + "/app/web/industry_chain"
        },
        //信息管理
        info_manage:{
            //成果管理
            result_manage:inDeveloping,
            //信息推送
            info_push:info_server + "/portal/#1-0"
        },
        //系统管理
        app_system_manage:{
            //业务数据管理
            data_manage:inDeveloping,
            //用户管理
            user_manage:inDeveloping,
            //角色权限管理
            role_manage:inDeveloping
        },
        //用户管理
        user_manage:{
            //BI工具页面
            BI_tool: "http://175.6.46.164:9003/cboard/login.do",
            //制图工具页面
            drapt_tool:sgis_server+"/tool2.1/http/",
            //业务数据管理（数据管理子系统）
            data_manage:app_server + '/app/web/system_manage'
        },
        //系统管理页面地址
        system_manage: app_server + '/app/web/system_manage'
    };

    //登录验证服务器相关地址
    window.login_url = {
        system_base_url: app_server,//系统路径
        base_url: sgis_server + "/data/",//用户登陆路径
        gallery_url: sgis_server,//图库登陆路径
        base_page_url: app_server + "/app/",//首页资源路径配置
        system_manage_url:sgis_server +"/sdms/main/base.html"//系统管理页面链接配置
    };

    var fanruan_server = "http://175.6.46.164:8085/WebReport/ReportServer";

    //帆软报表页面
    window.fanruan = {
        //企业信息查询
        enterprise_search_path : fanruan_server + "?reportlet=%5B5355%5D%5B4f4d%5D%5B8868%5D%5B67e5%5D%5B8be2%5D.cpt",
        //分园区企业和工业情况
        report1: fanruan_server + "?formlet=%5B5206%5D%5B56ed%5D%5B533a%5D%5B4f01%5D%5B4e1a%5D%5B548c%5D%5B5de5%5D%5B4e1a%5D%5B60c5%5D%5B51b5%5D.frm",
        //规模工业产值本年累计排名前50位的企业情况表
        report2:  fanruan_server + "?formlet=%5B89c4%5D%5B6a21%5D%5B5de5%5D%5B4e1a%5D%5B4ea7%5D%5B503c%5D%5B672c%5D%5B5e74%5D%5B7d2f%5D%5B8ba1%5D%5B6392%5D%5B540d%5D%5B524d%5D50%5B4f4d%5D%5B7684%5D%5B4f01%5D%5B4e1a%5D%5B60c5%5D%5B51b5%5D%5B8868%5D.frm",
    };
    //第三方页面嵌入
    window.dsf = {
        macro_iden:'http://175.6.46.164:8080/zhxq/f/zongForm' //宏观经济指标及构成
    };

    //联网直报地址
    window.net_report = {
        net1 : sgis_server + "/gallery2.1/http/",
        net2 : sgis_server +"/gallery2.1/http/",
        net3 : sgis_server +"/gallery2.1/http/",
        net4 : sgis_server +"/gallery2.1/http/"
    };

})();